package org.tea.springdata.jpa.dao.impl;

import javax.persistence.EntityManager;

import org.springframework.data.jpa.repository.support.SimpleJpaRepository;
import org.springframework.stereotype.Repository;
import org.tea.springdata.jpa.domain.User;

/**
 * @Author: 张廷
 * @Description: 类描述
 * @Date: 2012-6-29
 * @Time: 下午12:54:53
 */
@Repository
public abstract class UserDao extends SimpleJpaRepository<User, Long> {
	
	public UserDao(Class<User> domainClass, EntityManager em) {
		super(domainClass, em);
	}

	/*
	 * (非 Javadoc) <p>Title: findUserById</p> <p>Description: </p>
	 * 
	 * @param id
	 * 
	 * @return
	 * 
	 * @see org.tea.springdata.dao.IUserDao#findUserById(java.lang.Integer)
	 */

//	@Override
//	public List<User> findUserById(Integer id) {
//		return null;
//	}

}
